package vip.liux.backend.application.service.shop;

import org.springframework.stereotype.Component;
import vip.liux.settings.definition.ISettingDefinitionContext;
import vip.liux.settings.definition.ISettingDefinitionProvider;
import vip.liux.settings.definition.SettingDefinition;

@Component
public class StoreSettingDefinitionProvider implements ISettingDefinitionProvider {
    @Override
    public void define(ISettingDefinitionContext context) {
        context.add(new SettingDefinition(
                "shop.setting.store",
                """
                        {
                                     "store_id": 10001,
                                     "store_name": "萤火商城2.0",
                                     "describe": "感谢您选择萤火商城，希望我们的努力能为您提供一款适用于企业级电商零售的利器，萤火商城官方网站为 https:\\/\\/www.yiovo.com",
                                     "logo_image_id": 0,
                                     "sort": 100,
                                     "is_recycle": 0,
                                     "is_delete": 0,
                                     "create_time": "2021-03-01 08:00:00",
                                     "update_time": "2021-03-01 08:00:00",
                                     "logoImage": null
                                 }
                        """,
                "商铺信息",
                null,
                true,
                false,
                false
        ));
    }
}
